package com.lx.service;


import com.lx.domin.SystemInfo;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * 雒鑫
 */
@Service
public class SystemService {

    public  List<SystemInfo> getSystemInfo(){
        ArrayList<SystemInfo> list = new ArrayList<>();
        SystemInfo systemInfo=null;
        for (int i = 1; i <= 100; i++) {
            systemInfo=new SystemInfo();
            systemInfo.setId(Long.valueOf(i));
            systemInfo.setKey("key值:"+i);
            systemInfo.setValue("value:"+i);
            list.add(systemInfo);
        }
        return list;
    }
}
